<?php
/* Recipe importer settings for 'MM804'<>'MMMMM----- Recipe via Meal-Master (tm) v8.04' */

	   $rec_import = str_replace("\'", "'", $rec_import);
	   $rec_import = str_replace('\"', '"', $rec_import);
	   $rec_import = str_replace("\r", NULL, $rec_import);
	   
	   $rec_import = explode("\n \n", $rec_import);
	   $src = str_replace("MMMMM----- ", NULL, $rec_import[0]);
	   $name_cat_ser = $rec_import[1];
	   $ingred = $rec_import[2];
	   $direct =  $rec_import[3];
	   $notes = $rec_import[4];
	   	   
	   $name_cat_ser_exp = explode("\n", $name_cat_ser);  
	   $name = str_replace("      Title: ", NULL , $name_cat_ser_exp[0]);
	   $cat_main = str_replace(" Categories: ", NULL , $name_cat_ser_exp[1]);
	   $serv = str_replace("      Yield: ", NULL , $name_cat_ser_exp[2]);
	   
	   $cat_main = explode(", ", $cat_main);
	   $cat = $cat_main[0];
	   $main = $cat_main[1];
	   
	   $rec_name = $name;
	   $rec_source = $src;
	   $rec_cat = $cat;
	   $rec_main = $main;
	   $rec_prep = NULL;
	   $rec_cook = NULL;
	   $rec_serves = $serv;
	   $rec_qm = NULL;
	   $rec_ingred = $ingred;
	   $rec_direct = $direct;
	   $rec_notes = NULL; //$notes;
	   
?>